package com.coda.mapper;

import com.coda.pojo.CommentReply;
import org.apache.ibatis.annotations.Mapper;

/**
 * 回复评论mapper
 */
@Mapper
public interface CommentReplyMapper {

    /**
     * 回复评论
     * @param reply
     * @return
     */
    int commentReply(CommentReply reply);

    /**
     * 点赞
     * @return
     */
    int upvote(Integer id);
}
